package com.woniu.sharepark.common.pojo;


import com.woniu.sharepark.leasesystem.common.pojo.IndentForm;
import com.woniu.sharepark.leasesystem.common.pojo.OrderForm;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * 用户个人信息实体类
 * @author xin
 * @date 2019/6/1 11:43
 */
@Component
public class UserInfo implements Serializable {
    private Integer uId;

    private String uName;

    private String uSex;

    private String uCard;

    private String uTel;

    private Integer lId;

    private Double uMoney;

    private Integer uCredit;

    private Integer uFlag;

    private UserInfo userInfo;

    private OrderForm orderForm;

    private List<IndentForm> indentForms;

    public List<IndentForm> getIndentForms() {
        return indentForms;
    }

    public void setIndentForms(List<IndentForm> indentForms) {
        this.indentForms = indentForms;
    }

    public OrderForm getOrderForm() {
        return orderForm;
    }

    public void setOrderForm(OrderForm orderForm) {
        this.orderForm = orderForm;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuCard() {
        return uCard;
    }

    public void setuCard(String uCard) {
        this.uCard = uCard;
    }

    public String getuTel() {
        return uTel;
    }

    public void setuTel(String uTel) {
        this.uTel = uTel;
    }

    public Integer getlId() {
        return lId;
    }

    public void setlId(Integer lId) {
        this.lId = lId;
    }

    public Double getuMoney() {
        return uMoney;
    }

    public void setuMoney(Double uMoney) {
        this.uMoney = uMoney;
    }

    public Integer getuCredit() {
        return uCredit;
    }

    public void setuCredit(Integer uCredit) {
        this.uCredit = uCredit;
    }

    public Integer getuFlag() {
        return uFlag;
    }

    public void setuFlag(Integer uFlag) {
        this.uFlag = uFlag;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                ", uSex='" + uSex + '\'' +
                ", uCard='" + uCard + '\'' +
                ", uTel='" + uTel + '\'' +
                ", lId=" + lId +
                ", uMoney=" + uMoney +
                ", uCredit=" + uCredit +
                ", uFlag=" + uFlag +
                ", userInfo=" + userInfo +
                ", orderForm=" + orderForm +
                ", indentForms=" + indentForms +
                '}';
    }
}